Repository navigation
Run page and Reliability say when a run ended on red CI or with work left - #393
Merged
Merged
Conversation
…left The run badge reads "CI failing" when the pull request is held on a failing check, and "Stopped, not finished" when the run stopped with planned work left, instead of "PR held" or "Waiting on you". The Reliability tab shows runs that ended done with red CI or after a stop (ci.ended_wrong), which should stay at zero.
The Integrations link's name gains "Needs attention: ..." once the integrations' status arrives. The member test on the AWS page matched the exact name, so it passed only while the status was still loading (2 of 15 runs failed on the static build). It now matches like the admin test above it.
nambok
force-pushed
the
run-ends-truthful
branch
from
November 12, 2026 00:56
979469d to
fd5ac31
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The run page and the Reliability tab now say plainly when a run ended on red CI or stopped with work left, instead of reading as a generic "PR held" or "Waiting on you". This builds on CoderHelm/coderhelm-platform#624, which sets these runs to needs_input with a named reason and adds
ci.ended_wrongto the analytics data.Changes
dashboard/src/components/run-status.tsx: therunHeldOnhelper and two new looks,CI_FAILINGandSTOPPED_UNFINISHED;RunStatusBadgetakesheldOn.dashboard/src/app/runs/detail/page.tsx: passesheldOnfrom the hold reasons and thewaiting_ondetail.dashboard/src/lib/api.ts:ci.ended_wrongtype.dashboard/src/app/analytics/page.tsx: theended-wrongline under CI outcomes.dashboard/e2e/run-draft-hold.spec.ts,dashboard/e2e/analytics.spec.ts: new cases.Verification
tsc --noEmitclean,npm run lintpassed.playwright test e2e/run-draft-hold.spec.ts e2e/analytics.spec.ts: 34 passed. That includes three new cases: